package cn.stylefeng.guns.modular.manager.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 导航图
 * </p>
 *
 * @author yumker
 * @since 2021-01-07
 */
@TableName("flow_service_banner")
public class FlowServiceBanner implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "service_banner_id", type = IdType.AUTO)
    private Long serviceBannerId;

    @TableField("service_id")
    private Long serviceId;

    @TableField("banner_title")
    private String bannerTitle;

    @TableField("banner_url")
    private String bannerUrl;

      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

      @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;


    public Long getServiceBannerId() {
        return serviceBannerId;
    }

    public void setServiceBannerId(Long serviceBannerId) {
        this.serviceBannerId = serviceBannerId;
    }

    public Long getServiceId() {
        return serviceId;
    }

    public void setServiceId(Long serviceId) {
        this.serviceId = serviceId;
    }

    public String getBannerTitle() {
        return bannerTitle;
    }

    public void setBannerTitle(String bannerTitle) {
        this.bannerTitle = bannerTitle;
    }

    public String getBannerUrl() {
        return bannerUrl;
    }

    public void setBannerUrl(String bannerUrl) {
        this.bannerUrl = bannerUrl;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "FlowServiceBanner{" +
        "serviceBannerId=" + serviceBannerId +
        ", serviceId=" + serviceId +
        ", bannerTitle=" + bannerTitle +
        ", bannerUrl=" + bannerUrl +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
